/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hoja4;

/**
 *
 * @author luisorozco
 */
public abstract class NodeAbstract<T> implements Pila<T> {

    @Override
    public abstract boolean isEmpty();
        
        /** Introduce un elemento a la pila.*/
        
    @Override
    public abstract void push( T elemento );
        
        /** Saca un elemento de la pila y lo retorna.*/
        
    @Override
    public abstract T pop() throws NullPointerException;
        
        
     
        /** indica el tamaño de la pila*/
    @Override
    public abstract int size();
        
    
}
